import request from '@/common/js/request'

export function oauth2login(type) {
	let apiFix = process.env.VUE_APP_BASEURL_API;
	window.location.href = apiFix + '/api-system/oauth2/renderAuth/' + type
}


export function getUser() {
	return request({
		url: '/api-system/getInfo',
		method: 'post'
	})
}